import angular from 'angular'

import SomeControllerLoader from './controller'
import SomeComponentLoader from './component'
import SomeServiceLoader from './service'
import DebounceComponentLoader from './debounce/index.component'

const MainModule = angular.module('hot-reload-demo', [])

globalThis.MainModule = MainModule

SomeControllerLoader(MainModule)
SomeComponentLoader(MainModule)
SomeServiceLoader(MainModule)
DebounceComponentLoader(MainModule)

require('./debounce/index.js')
